<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .a{
            color: green;
        }
        .b{
            color: red;
        }
        .c{
            font-weight: 600;
        }
    </style>
</head>
<body>
    <h1>有带颜色的诗句</h1>
    <p>1.<span class="a">绿</span> 杨烟外晓寒轻,<span class="b">红</span>杏枝头春意闹--<span class="c">宋宋祁《玉楼春》</span></p>
    <p>2.一道残阳铺水中,半江瑟瑟半江红-- <span class="c">唐白居易《暮江吟》</span></p>
    <p>3.黄梅时节家家雨, <span class="a">青草</span>池塘处处蛙--<span class="c">宋赵师秀《有约》 </span></p>
    <p>4.一水护田将绿绕,两山排闼送青来-- <span class="c">宋王安石《书湖阴先生壁》</span></p>
    <p>5.日出江花<span class="b">红</span>胜火,春来江水绿如蓝-- <span class="c">唐白居易《忆江南》</span></p>
    <p>6.等闲识得东风面,万紫千红总是春-- <span class="c">宋朱熹《春日》</span></p>
</body>
</html>